# -*- coding: utf-8 -*-


# 定义域名
domain= {
    # 抖音列表页域名接口
    "start_url":"https://www.iesdouyin.com/web/api/v2/aweme/post/?",
    #浏览器地址
    "driver_url":"https://v.douyin.com/tkhpdK/",
    #视频链接地址
    "video_url":"https://www.iesdouyin.com/share/video/{0}/?region=CN&mid=6798769122177338115&u_code=3kb4g9g6b26m&titleType=title&timestamp=1583027676&utm_campaign=client_share&app=aweme&utm_medium=ios&tt_from=copy&utm_source=copy"
}
# 一般请求头
general_header = {

    "accept": "application/json",
    "accept-encoding": "gzip, deflate, br",
    "accept-language": "zh-CN,zh;q=0.9",
    "cookie": "_ga=GA1.2.745032005.1582602217; tt_webid=6797232221864248846; _ba=BA0.2-20200225-5199e-nx2Yge9jVS2oBmzkeXOY; _gid=GA1.2.402170109.1583027619",
    "referer": "https://www.iesdouyin.com/share/user/104255897823?u_code=3kb4g9g6b26m&sec_uid=MS4wLjABAAAA8U_l6rBzmy7bcy6xOJel4v0RzoR_wfAubGPeJimN__4&utm_campaign=client_share&app=aweme&utm_medium=ios&tt_from=copy&utm_source=copy",
    "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36",
    "x-requested-with": "XMLHttpRequest"

}
# 视频地址请求头
video_header = {
    "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3",
    "accept-encoding": "gzip, deflate, br",
    "accept-language": "zh-CN,zh;q=0.9",
    "cookie": "odin_tt=e69768355ab35d134f733de53872442b70ba1511ede931c9487ea3b13ccbc687017c9064fb636c2be74d228366e24c12b388277f83f762378317d0c0dae6eb20",
    "upgrade-insecure-requests": "1",
    "user-agent": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36"
}